namespace DynamicChart.Service.Interpreter;

public class SetValueInterpreter : IParamInterpreter
{
    public string Name => "SetValue";
    public void Interpret(ref string value, IDictionary<string, object> param)
    {
        foreach (var key in param.Keys)
        {
            value = value.Replace(":" + key.ToString(), param[key].ToString());
        }
    }
}